package com.design.organization;

public class Client {

    public static void main(String[] args) {
        University university = new University("清华大学", "顶级大学");

        College computerCollege = new College("计算机学院", "计算机学院");
        College infoCollege = new College("信息工程学院", "信息工程学院");

        computerCollege.add(new Department("软件工程","软件工程不错"));
        computerCollege.add(new Department("网络工程","网络工程"));
        computerCollege.add(new Department("计算机科学技术","计算机老牌专业"));

        infoCollege.add(new Department("通讯工程","不好学的专业"));
        infoCollege.add(new Department("信息工程","信息工程好学"));

        university.add(computerCollege);
        university.add(infoCollege);

        university.print();
        infoCollege.print();

    }

}
